package com.my.chapter5;

public class practice2 {
    public static void main(String[] args) {
        Type1 t1 = new Type1("123");
        System.out.println(t1.n+"; "+t1.m);
        Type1 t2 = new Type1("678");
        System.out.println(t2.n+"; "+t2.m);
    }
}

class Type1{
    String n = "abc";
    String m;
    public Type1(String str){
        m=str;
    }
}